package com.yxq.mdt.app.modules.personal.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author L
 * @time 2019-11-21
 * @describe 蜜豆充值记录$
 */
public class RechargeRecordBean {


    /**
     * pageNum : 1
     * pageSize : 30
     * total : 3
     * pages : 1
     * list : [{"id":"14","userId":"110901","targetId":"152","status":"3","addTime":"2019-10-18 15:54:08","CharacterTypeHelper":"1","price":1,"targetUserId":"110900","targetUserName":"【阿】 打赏"},{"id":"15","userId":"110901","targetId":"158","status":"3","addTime":"2019-10-18 15:54:54","CharacterTypeHelper":"1","price":1,"targetUserId":"110900","targetUserName":"【阿】 打赏"},{"id":"16","userId":"110901","targetId":"156","status":"3","addTime":"2019-10-18 15:55:03","CharacterTypeHelper":"1","price":1,"targetUserId":"110900","targetUserName":"【阿】 打赏"}]
     */

    private int pageNum;
    private int pageSize;
    private int total;
    private int pages;
    private List<ListBean> list;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {

        /**
         * id : 13
         * userId : 110900
         * targetId : 137
         * status : 3
         * addTime : 2019-10-18 15:51:37
         * CharacterTypeHelper : 1
         * price : 36
         * targetUserId : 110901
         * userName : 打赏给 【阿】
         */

        private String id;
        private String userId;
        private String targetId;
        private String status;
        private String addTime;
        private String type;
        private float price;
        private String targetUserId;
        private String userName;
        private String targetUserName;
        /**
         * price : 10
         * detail : {"addTime":1577259863000,"cash":0.01,"id":69,"money":10.00,"orderNo":"4200000459201912255504784446","payStatus":1,"payTime":1577259872000,"payType":3,"platform":1,"sugarId":10,"sync":2,"userId":1115}
         * parentId : main
         * cashRecharge : {"id":69,"userId":1115,"cash":0.01,"money":10,"platform":1,"addTime":"1577259863000","payStatus":1,"payTime":"1577259872000","payType":3,"orderNo":"4200000459201912255504784446","sugarId":10,"sync":2}
         */

        private CashRechargeBean cashRecharge;

        public void setTargetUserName(String targetUserName) {
            this.targetUserName = targetUserName;
        }

        public String getTargetUserName() {
            return targetUserName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getTargetId() {
            return targetId;
        }

        public void setTargetId(String targetId) {
            this.targetId = targetId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public float getPrice() {
            return price;
        }

        public void setPrice(float price) {
            this.price = price;
        }

        public String getTargetUserId() {
            return targetUserId;
        }

        public void setTargetUserId(String targetUserId) {
            this.targetUserId = targetUserId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public CashRechargeBean getCashRecharge() {
            return cashRecharge;
        }

        public void setCashRecharge(CashRechargeBean cashRecharge) {
            this.cashRecharge = cashRecharge;
        }

        public static class CashRechargeBean {
            /**
             * id : 69
             * userId : 1115
             * cash : 0.01
             * money : 10
             * platform : 1
             * addTime : 1577259863000
             * payStatus : 1
             * payTime : 1577259872000
             * payType : 3
             * orderNo : 4200000459201912255504784446
             * sugarId : 10
             * sync : 2
             */

            @SerializedName("id")
            private int idX;
            @SerializedName("userId")
            private int userIdX;
            private double cash;
            private int money;
            private int platform;
            @SerializedName("addTime")
            private String addTimeX;
            private int payStatus;
            private String payTime;
            private int payType;
            private String orderNo;
            private int sugarId;
            private int sync;

            public int getIdX() {
                return idX;
            }

            public void setIdX(int idX) {
                this.idX = idX;
            }

            public int getUserIdX() {
                return userIdX;
            }

            public void setUserIdX(int userIdX) {
                this.userIdX = userIdX;
            }

            public double getCash() {
                return cash;
            }

            public void setCash(double cash) {
                this.cash = cash;
            }

            public int getMoney() {
                return money;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public int getPlatform() {
                return platform;
            }

            public void setPlatform(int platform) {
                this.platform = platform;
            }

            public String getAddTimeX() {
                return addTimeX;
            }

            public void setAddTimeX(String addTimeX) {
                this.addTimeX = addTimeX;
            }

            public int getPayStatus() {
                return payStatus;
            }

            public void setPayStatus(int payStatus) {
                this.payStatus = payStatus;
            }

            public String getPayTime() {
                return payTime;
            }

            public void setPayTime(String payTime) {
                this.payTime = payTime;
            }

            public int getPayType() {
                return payType;
            }

            public void setPayType(int payType) {
                this.payType = payType;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public int getSugarId() {
                return sugarId;
            }

            public void setSugarId(int sugarId) {
                this.sugarId = sugarId;
            }

            public int getSync() {
                return sync;
            }

            public void setSync(int sync) {
                this.sync = sync;
            }
        }
    }
}
